package com.djj.nanny.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.djj.nanny.entity.Banner;

import java.util.List;

public interface BannerService {
    void createBanner(Banner banner) ;

    void updateBanner(Banner banner);

    void deleteBanner(Long id);

    Banner getBannerById(Long id);

    List<Banner> getActiveBanners();

    Page<Banner> getBannersByPage(String title, Integer status, Integer pageNum, Integer pageSize);
} 